<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class Tasks_model | tis</title>

	<script type="text/javascript" src="resources/combined.js?955602237"></script>
	<script type="text/javascript" src="elementlist.js?180132949"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
		</div>



		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li><a href="class-Auth.html">Auth</a></li>
				<li><a href="class-Books_model.html">Books_model</a></li>
				<li><a href="class-Inout.html">Inout</a></li>
				<li><a href="class-Log_model.html">Log_model</a></li>
				<li><a href="class-Roles_model.html">Roles_model</a></li>
				<li><a href="class-Solution_model.html">Solution_model</a></li>
				<li><a href="class-Tasks.html">Tasks</a></li>
				<li class="active"><a href="class-Tasks_model.html">Tasks_model</a></li>
				<li><a href="class-Users_model.html">Users_model</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
		</ul>
		<ul>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class Tasks_model</h1>


	<div class="description">
	
<p>Trieda Tasks_model za zaobera prácou s databázou pre úlohy</p>

	</div>

	<dl class="tree">
		<dd style="padding-left:0px">
CI_Model
			
			
		</dd>
		<dd style="padding-left:30px">
			<img src="resources/inherit.png" alt="Extended by" />
<b><span>Tasks_model</span></b>			
			
			
		</dd>
	</dl>








	<div class="info">
		
		
		
		

				<b>Author:</b>
				Este Neviem<br />
				<b>Version:</b>
				0.01<br />
				<b>Since:</b>
				2012-29-11<br />
		<b>Located at</b> <a href="source-class-Tasks_model.html#13-139" title="Go to source code">models/tasks_model.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="__construct" id="___construct">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#___construct">#</a>
		<code><a href="source-class-Tasks_model.html#22-24" title="Go to source code">__construct</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="createTask" id="_createTask">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_createTask">#</a>
		<code><a href="source-class-Tasks_model.html#26-48" title="Go to source code">createTask</a>( <span>type <var>$name</var></span>, <span>type <var>$id_books</var></span>, <span>type <var>$x_units</var></span>, <span>type <var>$y_units</var></span>, <span>type <var>$description</var></span>, <span>type <var>$page</var></span>, <span>type <var>$functions_count</var></span> )</code>

		<div class="description short">
			
<p>Funkcia pridá do tabuľky záznam s daným taskom na základe
parametrov.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Funkcia pridá do tabuľky záznam s daným taskom na základe
parametrov.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$name</var></dt>
					<dd><code>type</code><br>$name</dd>
					<dt><var>$id_books</var></dt>
					<dd><code>type</code><br>$id_books</dd>
					<dt><var>$x_units</var></dt>
					<dd><code>type</code><br>$x_units</dd>
					<dt><var>$y_units</var></dt>
					<dd><code>type</code><br>$y_units</dd>
					<dt><var>$description</var></dt>
					<dd><code>type</code><br>$description</dd>
					<dt><var>$page</var></dt>
					<dd><code>type</code><br>$page</dd>
					<dt><var>$functions_count</var></dt>
					<dd><code>type</code><br>$functions_count</dd>
				</dl></div>



				<h4>Author</h4>
				<div class="list">
						Este Neviem<br />
				</div>
				<h4>Version</h4>
				<div class="list">
						0.01<br />
				</div>
				<h4>Since</h4>
				<div class="list">
						2012-28-11<br />
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="listAll" id="_listAll">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_listAll">#</a>
		<code><a href="source-class-Tasks_model.html#50-61" title="Go to source code">listAll</a>( )</code>

		<div class="description short">
			
<p>Funkcia vráti všetky záznamy.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Funkcia vráti všetky záznamy.</p>






				<h4>Author</h4>
				<div class="list">
						Este Neviem<br />
				</div>
				<h4>Version</h4>
				<div class="list">
						0.01<br />
				</div>
				<h4>Since</h4>
				<div class="list">
						2012-28-11<br />
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="listAllFor" id="_listAllFor">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_listAllFor">#</a>
		<code><a href="source-class-Tasks_model.html#63-72" title="Go to source code">listAllFor</a>( <span>type <var>$id_book</var></span> )</code>

		<div class="description short">
			
<p>Funkcia všetky záznami pre knihu na základe parametra $id_book</p>

		</div>

		<div class="description detailed hidden">
			
<p>Funkcia všetky záznami pre knihu na základe parametra $id_book</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$id_book</var></dt>
					<dd><code>type</code><br>$id_book</dd>
				</dl></div>



				<h4>Author</h4>
				<div class="list">
						Este Neviem<br />
				</div>
				<h4>Version</h4>
				<div class="list">
						0.01<br />
				</div>
				<h4>Since</h4>
				<div class="list">
						2012-28-11<br />
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="getById" id="_getById">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getById">#</a>
		<code><a href="source-class-Tasks_model.html#74-84" title="Go to source code">getById</a>( <span>type <var>$id</var></span> )</code>

		<div class="description short">
			
<p>Funkcia vráti záznam úlohy na základe parametra $id.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Funkcia vráti záznam úlohy na základe parametra $id.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$id</var></dt>
					<dd><code>type</code><br>$id</dd>
				</dl></div>



				<h4>Author</h4>
				<div class="list">
						Este Neviem<br />
				</div>
				<h4>Version</h4>
				<div class="list">
						0.01<br />
				</div>
				<h4>Since</h4>
				<div class="list">
						2012-28-11<br />
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="getByIdJoined" id="_getByIdJoined">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getByIdJoined">#</a>
		<code><a href="source-class-Tasks_model.html#85-97" title="Go to source code">getByIdJoined</a>( <span>type <var>$id</var></span> )</code>

		<div class="description short">
			
<p>Funkcia vráti záznam úlohy na základe parametra $id.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Funkcia vráti záznam úlohy na základe parametra $id.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$id</var></dt>
					<dd><code>type</code><br>$id</dd>
				</dl></div>



				<h4>Author</h4>
				<div class="list">
						Este Neviem<br />
				</div>
				<h4>Version</h4>
				<div class="list">
						0.01<br />
				</div>
				<h4>Since</h4>
				<div class="list">
						2012-28-11<br />
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="deleteTask" id="_deleteTask">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_deleteTask">#</a>
		<code><a href="source-class-Tasks_model.html#99-109" title="Go to source code">deleteTask</a>( <span>type <var>$id</var></span> )</code>

		<div class="description short">
			
<p>Funkcia zmaže záznam na základe parametra $id .</p>

		</div>

		<div class="description detailed hidden">
			
<p>Funkcia zmaže záznam na základe parametra $id .</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$id</var></dt>
					<dd><code>type</code><br>$id</dd>
				</dl></div>



				<h4>Author</h4>
				<div class="list">
						Este Neviem<br />
				</div>
				<h4>Version</h4>
				<div class="list">
						0.01<br />
				</div>
				<h4>Since</h4>
				<div class="list">
						2012-28-11<br />
				</div>


		</div>
		</div></td>
	</tr>
	<tr data-order="edit" id="_edit">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_edit">#</a>
		<code><a href="source-class-Tasks_model.html#111-135" title="Go to source code">edit</a>( <span>type <var>$id</var></span>, <span>type <var>$name</var></span>, <span>type <var>$id_books</var></span>, <span>type <var>$x_units</var></span>, <span>type <var>$y_units</var></span>, <span>type <var>$description</var></span>, <span>type <var>$page</var></span>, <span>type <var>$functions_count</var></span> )</code>

		<div class="description short">
			
<p>Funkcia nastaví polia pre úlohu podľa parametra so zadaným $id.</p>

		</div>

		<div class="description detailed hidden">
			
<p>Funkcia nastaví polia pre úlohu podľa parametra so zadaným $id.</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$id</var></dt>
					<dd><code>type</code><br>$id</dd>
					<dt><var>$name</var></dt>
					<dd><code>type</code><br>$name</dd>
					<dt><var>$id_books</var></dt>
					<dd><code>type</code><br>$id_books</dd>
					<dt><var>$x_units</var></dt>
					<dd><code>type</code><br>$x_units</dd>
					<dt><var>$y_units</var></dt>
					<dd><code>type</code><br>$y_units</dd>
					<dt><var>$description</var></dt>
					<dd><code>type</code><br>$description</dd>
					<dt><var>$page</var></dt>
					<dd><code>type</code><br>$page</dd>
					<dt><var>$functions_count</var></dt>
					<dd><code>type</code><br>$functions_count</dd>
				</dl></div>



				<h4>Author</h4>
				<div class="list">
						Este Neviem<br />
				</div>
				<h4>Version</h4>
				<div class="list">
						0.01<br />
				</div>
				<h4>Since</h4>
				<div class="list">
						2012-28-11<br />
				</div>


		</div>
		</div></td>
	</tr>
	</table>


















</div>

	<div id="footer">
		tis API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
